package com.gem.back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author hhhy
 * @since 2020-02-22
 */
@Data
public class AoaNoticeList implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "notice_id", type = IdType.AUTO)
    private Long noticeId;

    private String content;

    private Integer isTop;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date noticeTime;

    private Long status;

    private String title;

    private Long type;

    private String url;

    private Integer userId;

    private Integer del_flag;//逻辑删除标识

    @TableField(exist = false)
    private AoaUser aoaUser;

    @TableField(exist = false)
    private AoaDept aoaDept;

    @TableField(exist = false)
    private AoaNoticeUserRelation aoaNoticeUserRelation;


}
